package com.lovo.roomProject.student.dao.impl;

import com.lovo.roomProject.pojo.StudentDO;
import com.lovo.roomProject.student.dao.StudentDAO;
import org.junit.jupiter.api.Test;

class StudentDAOImplTest {
    private StudentDAO studentDAO=new StudentDAOImpl();
    @org.junit.jupiter.api.Test
    void listStudent() {
        System.out.println(studentDAO.listStudent());
    }

    @Test
    void getStudentID() {
        System.out.println(studentDAO.getStudentID(1));
    }

    @Test
    void insert() {
        StudentDO studentDO=new StudentDO();
        studentDO.setName("王五");
        studentDO.setPhone("18888888888");
        studentDO.setGender("女");
    }


    @Test
    void listStudentPage() {
        System.out.println(studentDAO.listStudentPage(1,"张",null,null));
    }

}